package mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import pojo.User;

import java.util.List;

public interface UserMapper {

@Select("SELECT * from tb_user where username = #{username} and password = #{password}")
    User select(@Param("username") String username, @Param("password")String password);
}
